package com.pxxy.yuyi.service;

import com.github.pagehelper.PageInfo;
import com.pxxy.yuyi.entity.Admin;

import java.util.List;

/**
 * Created by IntelliJ IDEA
 *
 * @Author : XuWen
 * @create 2021/6/21 11:09
 */
public interface AdminService {
    PageInfo<Admin> selectAll(Integer pageNum);

    Integer deleteAdmin(Integer id);

    Integer addAdmin(Admin admin);

    Integer updateAdmin(Admin admin);

    Admin selectLogin(String name, String password);
}
